package demo.reflection;

import demo.annotation.MyAnnotation;


//User类示例，并在类上使用自定义注解@MyAnnotation。

@MyAnnotation(value = "Course User", author = "student", version = 1)
public class User {
    public int id;
    private String name;
    private int age;
    public int sex;
    public String createTime;

    public String getName() { return name; }
    public int getAge() { return age; }
    public void setAge(int age) { this.age = age; }
}

